
export interface MenuModule {
    id:number|null,
    menuName:string,
    routerUrl:string,
    remark:string,
    addTime:string,
    updateTime:string,
    listOrder:number|null
}

export interface MenuGroupType {
    id:number|null,
    menuGroupName:string,
    userType:number,
    family:Array<any>,
    remark:string,
    addTime:string,
    updateTime:string,
}

export interface MenuGroupDetailType {
    id:number|null,
    menuGroupId:number|null,
    menuId:number|null,
    addTime:string,
    updateTime:string,
    del:number,
    listOrder:number|null
}

export interface MenuDetailVoType {
    groupId:number,
    id:number,
    listOrder:number,
    menuId:number,
    menuName:string,
    routerUrl:string
}





export interface LeftMenuType {
    id:number|null,
    groupId :number
    menuName:string,
    routerUrl:string
}

export interface LeftMenuGroupType {
    menuGroupId :number
    menuGroupName:string,
    menuVos:Array<LeftMenuType>
}

export class MenuData {
    leftMenuData:(Array<LeftMenuGroupType>) = [];
    menuModuleData:(Array<MenuModule>) = [];
}

export class MenuModuleData {
    dataForm:MenuModule = {
        id:null,
        menuName:"",
        routerUrl:"",
        remark:"",
        addTime:"",
        updateTime:"",
        listOrder:0
    }
}

export class MenuDetailData {
    menuDetailForm:MenuGroupDetailType={
        id:null,
        menuGroupId:null,
        menuId:null,
        addTime:"",
        updateTime:"",
        del:1,
        listOrder:0
    };
}

export class MenuGroupData {
    dataForm:MenuGroupType={
        id:null,
        menuGroupName:"",
        userType:4,
        family:[],
        remark:"",
        addTime:"",
        updateTime:"",
    };
}